package com.forenow.demo.demo13;

public class Test {
    public static void main(String[] args) {
        UseCompute u=new UseCompute();
        Compute compute=new Div();
        Compute compute1=new Add();
        Compute compute2=new Mul();
        Compute compute3=new Sub();
        u.useCom(compute,9,5);
        u.useCom(compute1,9,5);
        u.useCom(compute2,9,5);
        u.useCom(compute3,9,5);
    }
}
